Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.routing.dm.conditionalfolder.contentTemplateContrib--factoryBinding

This contribution is part of XML component org.nuxeo.ecm.platform.routing.dm.conditionalfolder.contentTemplateContrib inside nuxeo-platform-document-routing-dm-5.8.jar

Extension Point

Extension point factoryBinding of component ContentTemplateService.

Contributed Items

  • <factoryBinding factoryName="SimpleTemplateFactory" name="ConditionalfolderFactory" targetType="ConditionalStepFolder">
          <template>
            <templateItem description="Decisional task" id="routeDocStep" title="ConditionalTask" typeName="ConditionalTask"/>
            <templateItem description="Branch executed if option1 is chosen" id="option1" title="Option 1" typeName="StepFolder"/>
            <templateItem description="Branch executed if option2 is chosen" id="option2" title="Option 2" typeName="StepFolder"/>
          </template>
        </factoryBinding>

XML Source

<extension point="factoryBinding" target="org.nuxeo.ecm.platform.content.template.service.ContentTemplateService">

    <factoryBinding factoryName="SimpleTemplateFactory" name="ConditionalfolderFactory" targetType="ConditionalStepFolder">
      <template>
        <templateItem description="Decisional task" id="routeDocStep" title="ConditionalTask" typeName="ConditionalTask"/>
        <templateItem description="Branch executed if option1 is chosen" id="option1" title="Option 1" typeName="StepFolder"/>
        <templateItem description="Branch executed if option2 is chosen" id="option2" title="Option 2" typeName="StepFolder"/>
      </template>
    </factoryBinding>

  </extension>